.class Les/xy$n1;
.super Ljava/lang/Object;
.source "EditMenuItemProvider.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/xy;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/xy;


# direct methods
.method constructor <init>(Les/xy;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/xy$n1;->a:Les/xy;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 4

    .line 1
    iget-object p1, p0, Les/xy$n1;->a:Les/xy;

    invoke-static {p1}, Les/xy;->b(Les/xy;)Ljava/util/List;

    move-result-object p1

    .line 2
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    .line 3
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    .line 4
    invoke-interface {v2}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v3

    invoke-virtual {v3}, Lcom/estrongs/fs/l;->b()Z

    move-result v3

    if-nez v3, :cond_0

    .line 5
    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 6
    :cond_1
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    const/4 v2, 0x0

    const/4 v3, 0x1

    if-ne v1, v3, :cond_2

    .line 7
    iget-object v1, p0, Les/xy$n1;->a:Les/xy;

    invoke-static {v1}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/fs/g;

    .line 8
    invoke-interface {v0}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v0

    .line 9
    invoke-static {v1, v0}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Ljava/lang/String;)V

    goto :goto_1

    .line 10
    :cond_2
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-le v1, v3, :cond_3

    .line 11
    iget-object v1, p0, Les/xy$n1;->a:Les/xy;

    invoke-static {v1}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v1

    .line 12
    invoke-static {v0}, Lcom/estrongs/android/util/o0;->a(Ljava/util/List;)Ljava/util/List;

    move-result-object v0

    .line 13
    invoke-static {v1, v0}, Lcom/estrongs/android/pop/utils/p;->e(Landroid/app/Activity;Ljava/util/List;)V

    .line 14
    :cond_3
    :goto_1
    iget-object v0, p0, Les/xy$n1;->a:Les/xy;

    invoke-static {v0}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/statistics/c;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 15
    invoke-static {p1}, Lcom/estrongs/android/pop/utils/p;->c(Ljava/util/List;)Ljava/lang/String;

    move-result-object p1

    const-string v1, "share"

    .line 16
    invoke-static {v1, v0, p1}, Lcom/estrongs/android/pop/utils/p;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    return v2
.end method
